var getinfo = function(){
    //获得回答
    $.ajax({
        type : "POST",
        url : WebSite.AskerHandlingPage.searchquestion_detail,
        dateType : "json",
        data:{
            "pk_question":getUrlParam("pk_question")
        },
        success : function(result){
            var myTemplate = Handlebars.compile($("#handling-template").html());
            $("#handling-info").html(myTemplate(result));
        },
        error : function () {
            alert("问题的详细信息未获取到");
        }
    });

};

//改变时间格式
Handlebars.registerHelper("transdate", function(str,options) {
    return new Date(parseInt(str)).toLocaleString();
});



